Northwind Test with Yukon

Orders Qry View

Owner

dbo

Creation Date

10-07-2003 10:31:35

Remarks


Columns

NameTypeLengthIsNullableCollation
OrderIDint4 
CustomerIDnchar10SQL_Latin1_General_CP1_CI_AS 
EmployeeIDint4 
OrderDatedatetime8 
RequiredDatedatetime8 
ShippedDatedatetime8 
ShipViaint4 
Freightmoney8 
ShipNamenvarchar80SQL_Latin1_General_CP1_CI_AS 
ShipNamesysname80SQL_Latin1_General_CP1_CI_AS 
ShipAddressnvarchar120SQL_Latin1_General_CP1_CI_AS 
ShipAddresssysname120SQL_Latin1_General_CP1_CI_AS 
ShipCitynvarchar30SQL_Latin1_General_CP1_CI_AS 
ShipCitysysname30SQL_Latin1_General_CP1_CI_AS 
ShipRegionnvarchar30SQL_Latin1_General_CP1_CI_AS 
ShipRegionsysname30SQL_Latin1_General_CP1_CI_AS 
ShipPostalCodenvarchar20SQL_Latin1_General_CP1_CI_AS 
ShipPostalCodesysname20SQL_Latin1_General_CP1_CI_AS 
ShipCountrynvarchar30SQL_Latin1_General_CP1_CI_AS 
ShipCountrysysname30SQL_Latin1_General_CP1_CI_AS 
CompanyNamenvarchar80SQL_Latin1_General_CP1_CI_AS 
CompanyNamesysname80SQL_Latin1_General_CP1_CI_AS 
Addressnvarchar120SQL_Latin1_General_CP1_CI_AS 
Addresssysname120SQL_Latin1_General_CP1_CI_AS 
Citynvarchar30SQL_Latin1_General_CP1_CI_AS 
Citysysname30SQL_Latin1_General_CP1_CI_AS 
Regionnvarchar30SQL_Latin1_General_CP1_CI_AS 
Regionsysname30SQL_Latin1_General_CP1_CI_AS 
PostalCodenvarchar20SQL_Latin1_General_CP1_CI_AS 
PostalCodesysname20SQL_Latin1_General_CP1_CI_AS 
Countrynvarchar30SQL_Latin1_General_CP1_CI_AS 
Countrysysname30SQL_Latin1_General_CP1_CI_AS 

View Definition

create view "Orders Qry" AS
SELECT Orders.OrderID, Orders.CustomerID, Orders.EmployeeID, Orders.OrderDate, Orders.RequiredDate, 
	Orders.ShippedDate, Orders.ShipVia, Orders.Freight, Orders.ShipName, Orders.ShipAddress, Orders.ShipCity, 
	Orders.ShipRegion, Orders.ShipPostalCode, Orders.ShipCountry, 
	Customers.CompanyName, Customers.Address, Customers.City, Customers.Region, Customers.PostalCode, Customers.Country
FROM Customers INNER JOIN Orders ON Customers.CustomerID = Orders.CustomerID